package com.dmjj.cad.dao;

import com.dmjj.cad.dto.CategoryDTO;
import com.dmjj.cad.dto.GraphDTO;
import com.dmjj.cad.vo.GraphSearchVO;
import com.dmjj.cadcommon.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 元素管理表数据层处理接口
 * @Author zhangxue
 * @Date 2019-04-19 10:39:23
 */
@Mapper
public interface GraphMapper extends BaseMapper<GraphDTO, Long> {

    List<Map<String, Object>> queryAllSameCategoryFloorplan(Long floorplanid);

    List<Map<String, Object>> queryAllGraphByFloorplan(Map<String,Object> floorPlanIdArr);

    List<Map<String,Object>> queryAllFixCategory(GraphSearchVO graphSearchVO);

    List<Map<String, Object>> queryAllFixGraph(Map<String, Object> categoryMap);

    Integer deleteGraphSon(Long id);
}
